<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTTP同步异步测试</title>
</head>
<body>
<input type="button" value="同步请求" onclick="sync();"><br><br>
<input type="button" value="异步请求" onclick="async();">
<br><br>

<input type="button" value="点击日志" onclick="log();">
<ul id="log">

</ul>
<input type="button" value="回调测试" onclick="callback();">
<div id="callback">
</div>
</body>

<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/sync.js"></script>
</html>